package org.jeecg.modules.demo.mall.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: goods_sku
 * @Author: jeecg-boot
 * @Date:   2023-10-23
 * @Version: V1.0
 */
@Data
@TableName("goods_sku")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="goods_sku对象", description="goods_sku")
public class GoodsSku implements Serializable {
    private static final long serialVersionUID = 1L;

	/**记录id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "记录id")
    private Long id;
	/**商品id*/
	@Excel(name = "商品id", width = 15)
    @ApiModelProperty(value = "商品id")
    private Integer goodsId;
	/**规格组合，格式为规格1id:规格值1id;规格2id:规格值2id;...*/
	@Excel(name = "规格组合，格式为规格1id:规格值1id;规格2id:规格值2id;...", width = 15)
    @ApiModelProperty(value = "规格组合，格式为规格1id:规格值1id;规格2id:规格值2id;...")
    private String specIdGroup;
	/**规格值组合，用于订单查询，格式为规格1名称:规格值1名称;规格2名称:规格值2名称;...*/
	@Excel(name = "规格值组合，用于订单查询，格式为规格1名称:规格值1名称;规格2名称:规格值2名称;...", width = 15)
    @ApiModelProperty(value = "规格值组合，用于订单查询，格式为规格1名称:规格值1名称;规格2名称:规格值2名称;...")
    private String specNameGroup;
	/**划线价*/
	@Excel(name = "划线价", width = 15)
    @ApiModelProperty(value = "划线价")
    private BigDecimal marketPrice;
	/**销售价*/
	@Excel(name = "销售价", width = 15)
    @ApiModelProperty(value = "销售价")
    private BigDecimal price;
	/**批发价*/
	@Excel(name = "批发价", width = 15)
    @ApiModelProperty(value = "批发价")
    private BigDecimal wholesalePrice;
	/**批发转换*/
	@Excel(name = "批发转换", width = 15)
    @ApiModelProperty(value = "批发转换")
    private Integer wholesaleSymbolNum;
	/**条形码*/
	@Excel(name = "条形码", width = 15)
    @ApiModelProperty(value = "条形码")
    private String barcode;
	/**商品编码*/
	@Excel(name = "商品编码", width = 15)
    @ApiModelProperty(value = "商品编码")
    private String goodsCode;
	/**重量(g)*/
	@Excel(name = "重量(g)", width = 15)
    @ApiModelProperty(value = "重量(g)")
    private BigDecimal weight;
	/**库存*/
	@Excel(name = "库存", width = 15)
    @ApiModelProperty(value = "库存")
    private Long stock;
	/**sku图片*/
	@Excel(name = "sku图片", width = 15)
    @ApiModelProperty(value = "sku图片")
    private String skuImg;
	/**库存次日是否置满，0否 1是*/
	@Excel(name = "库存次日是否置满，0否 1是", width = 15)
    @ApiModelProperty(value = "库存次日是否置满，0否 1是")
    private Integer isFullStock;
	/**置满库存*/
	@Excel(name = "置满库存", width = 15)
    @ApiModelProperty(value = "置满库存")
    private Integer fullStock;
	/**打包费*/
	@Excel(name = "打包费", width = 15)
    @ApiModelProperty(value = "打包费")
    private BigDecimal packFee;
	/**应用id*/
	@Excel(name = "应用id", width = 15)
    @ApiModelProperty(value = "应用id")
    private Integer mchId;
	/**店铺ID*/
	@Excel(name = "店铺ID", width = 15)
    @ApiModelProperty(value = "店铺ID")
    private Integer shopId;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
	/**删除时间，0正常*/
	@Excel(name = "删除时间，0正常", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "删除时间，0正常")
    private Date deleteTime;
	/**结算价*/
	@Excel(name = "结算价", width = 15)
    @ApiModelProperty(value = "结算价")
    private BigDecimal settlementPrice;
	/**限购*/
	@Excel(name = "限购", width = 15)
    @ApiModelProperty(value = "限购")
    private Long quota;
}
